package top.callname.bean;

import java.util.HashMap;
import java.util.Map;

public class ConstanstBean {
	
	//用户角色
	public static final int ROLE_ADMIN = 1;
	public static final int ROLE_TEACHER = 0;
	
	
	//状态
	public static final int STATUS_TRUE = 1;
	public static final int STATUS_FALSE = 0;
	
	//返回编码
	public static final String RSP_SUCCESS = "0000";
	public static final String RSP_FAULT = "8888";
	
	//未绑定状态
	public static final String NOT_BIND = "0";
		
	public static Map<Integer, String> ROLE_MAP = null;
	public static Map<Integer, String> SING_STATUS_MAP = null;
	public static Map<Integer, String> NOTICE_STATUS_MAP = null;
	
	static {
		ROLE_MAP = new HashMap<Integer, String>();
		ROLE_MAP.put(ROLE_TEACHER, "教师");
		ROLE_MAP.put(ROLE_ADMIN, "管理员");
		
		SING_STATUS_MAP = new HashMap<Integer, String>();
		SING_STATUS_MAP.put(STATUS_TRUE, "签到中");
		SING_STATUS_MAP.put(STATUS_FALSE, "已结束");
	
		NOTICE_STATUS_MAP = new HashMap<Integer, String>();
		NOTICE_STATUS_MAP.put(STATUS_TRUE, "已关闭");
		NOTICE_STATUS_MAP.put(STATUS_FALSE, "正常");
	}
	
	

	
	
	
}
